package com.hp.easyBuy.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hp.easyBuy.entity.TGoods;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface GoodsDao extends BaseMapper<TGoods> {
    //根据条件获取对应的数据
    public Page<TGoods> doPage(Page page, @Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
